package org.dwell.urlfilter.demo.domain;

/**
 * Created by Jange on 2016/4/6.
 */
public class CoreModule {

    private String moduleCode;
    private String moduleName;
    private String moduleUrl;
    private Integer moduleType;
    private String permission;
    private boolean needAuth;

    public CoreModule(String moduleCode, String moduleName, String moduleUrl, Integer moduleType, String permission, boolean needAuth) {
        this.moduleCode = moduleCode;
        this.moduleName = moduleName;
        this.moduleUrl = moduleUrl;
        this.moduleType = moduleType;
        this.permission = permission;
        this.needAuth = needAuth;
    }

    public String getModuleCode() {
        return moduleCode;
    }

    public void setModuleCode(String moduleCode) {
        this.moduleCode = moduleCode;
    }

    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    public String getModuleUrl() {
        return moduleUrl;
    }

    public void setModuleUrl(String moduleUrl) {
        this.moduleUrl = moduleUrl;
    }

    public Integer getModuleType() {
        return moduleType;
    }

    public void setModuleType(Integer moduleType) {
        this.moduleType = moduleType;
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }

    public boolean isNeedAuth() {
        return needAuth;
    }

    public void setNeedAuth(boolean needAuth) {
        this.needAuth = needAuth;
    }
}
